// Fill out your copyright notice in the Description page of Project Settings.

#include "WorldControllerParts.h"
#include "WorldEntityReferencing.h"

WORLD_ENTITY_META_DEFINE(FWorldControllerControl, FWorldEntityPart);

FWorldControllerControl::FWorldControllerControl()
	: Super()
	, SignalId(this)
	, Type(this, "")
{}

FWorldControllerControl::FWorldControllerControl(FWorldEntityPart* parent, const pugi::xml_node& elem)
	: Super(parent, elem)
	, SignalId(this, elem, "signalId")
	, Type(this, "", elem, "type")
{}

FWorldControllerControl::~FWorldControllerControl()
{}

void FWorldControllerControl::Resolve(FWorldEntityReferencing& referencing)
{
	Super::Resolve(referencing);
	referencing
		.Resolve(SignalId);
}
